package com.kmxd.ams.client.archive.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.Data;

/**
 * 门类关联设置
 *
 * @author nickbi
 * @since 2022-07-20
 */
@Data
@Schema(description = "门类关联设置对象")
public class ArchiveRelationSettingFieldVO implements Serializable {

  private static final long serialVersionUID = 1L;

  @Schema(description = "主键ID")
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  @Schema(description = "当前选中元数据id")
  @JsonSerialize(using = ToStringSerializer.class)
  private Long fieldId;

  @Schema(description = "门类配置id 关联s_archive_type表主键 关联门类")
  @JsonSerialize(using = ToStringSerializer.class)
  private Long archTypeId;

  @Schema(description = "门类名称")
  private String archTypeName;

  @Schema(description = "表名")
  private String tableId;

  /** 字段说明 */
  @Schema(description = "字段说明")
  private String dbFieldName;

  @Schema(description = "门类字段显示信息")
  private String archAndFieldName;
}
